package com.ruoyi.system.service;

/**
 * @Description TODO
 * @Author CAI ZHAI
 * @Date 2021/7/9 11:44
 **/
public interface AccountService
{
    /**
     * 账户扣减
     * @param userId 用户 ID
     * @param price 扣减金额
     */
    void reduceBalance(Long userId, Double price);
}
